package com.stenio.fancat.domain.user;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.stenio.fancat.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liuan
 * @create 2019-01-24 18:11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user")
public class UserLogin extends BaseEntity {

    /** 自增主键 */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("user_name")
    private String userName;
    @TableField("pass_word")
    private String passWord;

}
